package com.atmaowei.service;

import com.atmaowei.controller.request.BaseRequest;
import com.atmaowei.controller.request.DepartmentPageRequest;
import com.atmaowei.entity.Department;
import com.atmaowei.entity.Student;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {

    void save(Department department);

    PageInfo<Department> page(BaseRequest baseRequest);

    void delete(String dno);

    void update(Department department,String oldDname);

    Department getByDno(String dno);

    void deleteSelected(List<Department> departments);
}
